<!-- 模态框 -->
<div class="modal fade" id="deleteModal">
  <div class="modal-dialog">
    <div class="modal-content">
      <!-- 模态框头部 -->
      <div class="modal-header">
        <h4 class="modal-title">警告</h4>
        <button type="button" class="close" data-dismiss="modal">&times;</button>
      </div>
      <!-- 模态框主体 -->
      <div class="modal-body">
        确认删除吗？
      </div>
      <!-- 模态框底部 -->
      <div class="modal-footer">
        <button type="button" class="btn btn-primary" data-dismiss="modal" onclick="deleteItem()">确定</button>
        <button type="button" class="btn btn-secondary" data-dismiss="modal">取消</button>
      </div>
    </div>
  </div>
</div>

<!-- 模态框 -->
<div class="modal fade" id="deleteSuccessModal">
  <div class="modal-dialog">
    <div class="modal-content">
      <!-- 模态框头部 -->
      <div class="modal-header">
        <h4 class="modal-title">通知</h4>
        <button type="button" class="close" data-dismiss="modal">&times;</button>
      </div>
      <!-- 模态框主体 -->
      <div class="modal-body">
        删除成功
      </div>
      <!-- 模态框底部 -->
      <div class="modal-footer">
<!--        <button type="button" class="btn btn-primary" data-dismiss="modal">确定</button>-->
        <button type="button" class="btn btn-secondary" data-dismiss="modal" onclick="window.location.reload();">关闭</button>
      </div>
    </div>
  </div>
</div>

<!-- 模态框 -->
<div class="modal fade" id="deleteFailModal">
  <div class="modal-dialog">
    <div class="modal-content">
      <!-- 模态框头部 -->
      <div class="modal-header">
        <h4 class="modal-title">通知</h4>
        <button type="button" class="close" data-dismiss="modal">&times;</button>
      </div>
      <!-- 模态框主体 -->
      <div class="modal-body">
        删除失败
      </div>
      <!-- 模态框底部 -->
      <div class="modal-footer">
        <!--        <button type="button" class="btn btn-primary" data-dismiss="modal">确定</button>-->
        <button type="button" class="btn btn-secondary" data-dismiss="modal">关闭</button>
      </div>
    </div>
  </div>
</div>


<!-- 模态框 -->
<div class="modal fade" id="saveSuccessModal">
  <div class="modal-dialog">
    <div class="modal-content">
      <!-- 模态框头部 -->
      <div class="modal-header">
        <h4 class="modal-title">通知</h4>
        <button type="button" class="close" data-dismiss="modal">&times;</button>
      </div>
      <!-- 模态框主体 -->
      <div class="modal-body">
        保存成功
      </div>
      <!-- 模态框底部 -->
      <div class="modal-footer">
        <!--        <button type="button" class="btn btn-primary" data-dismiss="modal">确定</button>-->
        <button type="button" class="btn btn-secondary" data-dismiss="modal" onclick="window.location.reload();">关闭</button>
      </div>
    </div>
  </div>
</div>

<!-- 模态框 -->
<div class="modal fade" id="saveFailModal">
  <div class="modal-dialog">
    <div class="modal-content">
      <!-- 模态框头部 -->
      <div class="modal-header">
        <h4 class="modal-title">通知</h4>
        <button type="button" class="close" data-dismiss="modal">&times;</button>
      </div>
      <!-- 模态框主体 -->
      <div class="modal-body">
        保存失败
      </div>
      <!-- 模态框底部 -->
      <div class="modal-footer">
        <!--        <button type="button" class="btn btn-primary" data-dismiss="modal">确定</button>-->
        <button type="button" class="btn btn-secondary" data-dismiss="modal">关闭</button>
      </div>
    </div>
  </div>
</div>


<!-- 模态框 -->
<div class="modal fade" id="insertSuccessModal">
  <div class="modal-dialog">
    <div class="modal-content">
      <!-- 模态框头部 -->
      <div class="modal-header">
        <h4 class="modal-title">通知</h4>
        <button type="button" class="close" data-dismiss="modal">&times;</button>
      </div>
      <!-- 模态框主体 -->
      <div class="modal-body">
        新增成功
      </div>
      <!-- 模态框底部 -->
      <div class="modal-footer">
        <!--        <button type="button" class="btn btn-primary" data-dismiss="modal">确定</button>-->
        <button type="button" class="btn btn-secondary" data-dismiss="modal" onclick="insertSuccess()">关闭</button>
      </div>
    </div>
  </div>
</div>

<!-- 模态框 -->
<div class="modal fade" id="insertFailModal">
  <div class="modal-dialog">
    <div class="modal-content">
      <!-- 模态框头部 -->
      <div class="modal-header">
        <h4 class="modal-title">通知</h4>
        <button type="button" class="close" data-dismiss="modal">&times;</button>
      </div>
      <!-- 模态框主体 -->
      <div class="modal-body">
        新增失败
      </div>
      <!-- 模态框底部 -->
      <div class="modal-footer">
        <!--        <button type="button" class="btn btn-primary" data-dismiss="modal">确定</button>-->
        <button type="button" class="btn btn-secondary" data-dismiss="modal">关闭</button>
      </div>
    </div>
  </div>
</div>


<!-- 模态框 -->
<div class="modal fade" id="handleModal">
  <div class="modal-dialog">
    <div class="modal-content">
      <!-- 模态框头部 -->
      <div class="modal-header">
        <h4 class="modal-title">警告</h4>
        <button type="button" class="close" data-dismiss="modal">&times;</button>
      </div>
      <!-- 模态框主体 -->
      <div class="modal-body">
        确认处理吗？
      </div>
      <!-- 模态框底部 -->
      <div class="modal-footer">
        <button type="button" class="btn btn-primary" data-dismiss="modal" onclick="setItemState()">确定</button>
        <button type="button" class="btn btn-secondary" data-dismiss="modal">取消</button>
      </div>
    </div>
  </div>
</div>

<!-- 模态框 -->
<div class="modal fade" id="handleSuccessModal">
  <div class="modal-dialog">
    <div class="modal-content">
      <!-- 模态框头部 -->
      <div class="modal-header">
        <h4 class="modal-title">通知</h4>
        <button type="button" class="close" data-dismiss="modal">&times;</button>
      </div>
      <!-- 模态框主体 -->
      <div class="modal-body">
        处理成功
      </div>
      <!-- 模态框底部 -->
      <div class="modal-footer">
        <!--        <button type="button" class="btn btn-primary" data-dismiss="modal">确定</button>-->
        <button type="button" class="btn btn-secondary" data-dismiss="modal" onclick="window.location.reload();">关闭</button>
      </div>
    </div>
  </div>
</div>

<!-- 模态框 -->
<div class="modal fade" id="handleFailModal">
  <div class="modal-dialog">
    <div class="modal-content">
      <!-- 模态框头部 -->
      <div class="modal-header">
        <h4 class="modal-title">通知</h4>
        <button type="button" class="close" data-dismiss="modal">&times;</button>
      </div>
      <!-- 模态框主体 -->
      <div class="modal-body">
        处理失败
      </div>
      <!-- 模态框底部 -->
      <div class="modal-footer">
        <!--        <button type="button" class="btn btn-primary" data-dismiss="modal">确定</button>-->
        <button type="button" class="btn btn-secondary" data-dismiss="modal">关闭</button>
      </div>
    </div>
  </div>
</div>

<!-- 模态框 -->
<div class="modal fade" id="sendSuccessModal">
  <div class="modal-dialog">
    <div class="modal-content">
      <!-- 模态框头部 -->
      <div class="modal-header">
        <h4 class="modal-title">通知</h4>
        <button type="button" class="close" data-dismiss="modal">&times;</button>
      </div>
      <!-- 模态框主体 -->
      <div class="modal-body">
        提交成功
      </div>
      <!-- 模态框底部 -->
      <div class="modal-footer">
        <!--        <button type="button" class="btn btn-primary" data-dismiss="modal">确定</button>-->
        <button type="button" class="btn btn-secondary" data-dismiss="modal" onclick="window.location.reload();">关闭</button>
      </div>
    </div>
  </div>
</div>

<!-- 模态框 -->
<div class="modal fade" id="sendFailModal">
  <div class="modal-dialog">
    <div class="modal-content">
      <!-- 模态框头部 -->
      <div class="modal-header">
        <h4 class="modal-title">通知</h4>
        <button type="button" class="close" data-dismiss="modal">&times;</button>
      </div>
      <!-- 模态框主体 -->
      <div class="modal-body">
        提交失败
      </div>
      <!-- 模态框底部 -->
      <div class="modal-footer">
        <!--        <button type="button" class="btn btn-primary" data-dismiss="modal">确定</button>-->
        <button type="button" class="btn btn-secondary" data-dismiss="modal">关闭</button>
      </div>
    </div>
  </div>
</div>


<!-- 模态框 -->
<div class="modal fade" id="registerSuccessModal">
  <div class="modal-dialog">
    <div class="modal-content">
      <!-- 模态框头部 -->
      <div class="modal-header">
        <h4 class="modal-title">通知</h4>
        <button type="button" class="close" data-dismiss="modal">&times;</button>
      </div>
      <!-- 模态框主体 -->
      <div class="modal-body">
        注册成功（初始密码为123456）
      </div>
      <!-- 模态框底部 -->
      <div class="modal-footer">
        <!--        <button type="button" class="btn btn-primary" data-dismiss="modal">确定</button>-->
        <button type="button" class="btn btn-secondary" data-dismiss="modal" onclick="jump();">关闭</button>
      </div>
    </div>
  </div>
</div>

<!-- 模态框 -->
<div class="modal fade" id="registerFailModal">
  <div class="modal-dialog">
    <div class="modal-content">
      <!-- 模态框头部 -->
      <div class="modal-header">
        <h4 class="modal-title">通知</h4>
        <button type="button" class="close" data-dismiss="modal">&times;</button>
      </div>
      <!-- 模态框主体 -->
      <div class="modal-body">
        注册失败
      </div>
      <!-- 模态框底部 -->
      <div class="modal-footer">
        <!--        <button type="button" class="btn btn-primary" data-dismiss="modal">确定</button>-->
        <button type="button" class="btn btn-secondary" data-dismiss="modal">关闭</button>
      </div>
    </div>
  </div>
</div>

<!-- 模态框 -->
<div class="modal fade" id="loginFailModal">
  <div class="modal-dialog">
    <div class="modal-content">
      <!-- 模态框头部 -->
      <div class="modal-header">
        <h4 class="modal-title">通知</h4>
        <button type="button" class="close" data-dismiss="modal">&times;</button>
      </div>
      <!-- 模态框主体 -->
      <div class="modal-body">
        账号密码错误或账号被禁用
      </div>
      <!-- 模态框底部 -->
      <div class="modal-footer">
        <!--        <button type="button" class="btn btn-primary" data-dismiss="modal">确定</button>-->
        <button type="button" class="btn btn-secondary" data-dismiss="modal">关闭</button>
      </div>
    </div>
  </div>
</div>